home *** CD-ROM | disk | FTP | other *** search
/ Commodore 64 Scene Diskmags Assortment / Uptime_The_Disk_Monthly_V1_07_19xx_Uptime_staff_Side_A.d64 / reader's survey (.txt) < prev    next >
Commodore BASIC  |  2023-02-26  |  11KB  |  366 lines

  1. 1 rem *********************************
  2. 2 rem *                               *
  3. 3 rem *  pgm title : reader's survey  *
  4. 4 rem *  pgm author: dave hammond     *
  5. 5 rem *                               *
  6. 6 rem *  (c)1986 viking technologies  *
  7. 7 rem *    (c)1986 uptime magazine    *
  8. 8 rem *                               *
  9. 9 rem *********************************
  10. 10 :
  11. 15 if x=0 then x=1: load "0:lptr rtn",8,1
  12. 16 :
  13. 20 print chr$(8)chr$(14)
  14. 30 uptime=(8*4096)+4: de=186
  15. 40 poke53280,0: poke53281,0
  16. 95 :
  17. 100 gosub 1000: rem *** screen template ***
  18. 110 gosub 1500: rem *** screen #1 ***
  19. 115 :
  20. 120 get k$: if k$="" then 120
  21. 130 if k$=chr$(140) then 550
  22. 140 if k$<>chr$(13) then 120
  23. 195 :
  24. 200 gosub 1600: rem *** screen #2 ***
  25. 205 :
  26. 210 get k$: if k$="" then 210
  27. 220 if k$=chr$(140) then 550
  28. 230 if k$<>chr$(13) then 210
  29. 295 :
  30. 300 gosub 1700: rem *** screen #3 ***
  31. 305 :
  32. 310 get k$: if k$="" then 310
  33. 320 if k$=chr$(140) then 550
  34. 330 if k$<>chr$(13) then 310
  35. 395 :
  36. 400 gosub 1800: rem *** screen #4 ***
  37. 405 :
  38. 410 ml=23: gosub 5000: rem *** get kbd input ***
  39. 415 :
  40. 420 n$=t$: if t$="" then n$="an anonymous source"
  41. 425 :
  42. 430 gosub 1900: rem *** screen #4 con't ***
  43. 435 :
  44. 440 get k$: if k$="" then 440
  45. 450 if k$=chr$(140) then 550
  46. 460 if k$<>chr$(13) then 440
  47. 465 :
  48. 500 er=0: gosub 2000: rem *** output to printer ***
  49. 505 if er=1 then goto 600
  50. 506 :
  51. 510 gosub 3000: rem *** screen #5 ***
  52. 515 :
  53. 520 get k$: if k$="" then 520
  54. 530 if k$=chr$(140) then 550
  55. 540 if k$<>chr$(13) then 520
  56. 545 :
  57. 550 poke de,8: sys uptime
  58. 595 :
  59. 596 rem ***************
  60. 597 rem  printer error
  61. 598 rem ***************
  62. 599 :
  63. 600 gosub 1400: rem *** clear text area ***
  64. 605 :
  65. 610 printspc(6)" [150] [212]here is a printer error  [155]"
  66. 620 printspc(6)"[210]echeck all of your printer"
  67. 630 printspc(5)"connections and the printer's"
  68. 640 printspc(6)"paper supply and try again."
  69. 645 :
  70. 650 get k$: if k$="" then 650
  71. 660 if k$=chr$(140) then 550
  72. 670 if k$<>chr$(13) then 650
  73. 675 :
  74. 680 gosub 1400: rem *** clear text area ***
  75. 685 :
  76. 690 printspc(16)"[208]rinting"
  77. 700 printspc(12)"[210]eader's  [211]urvey"
  78. 710 goto 500: rem *** retry printer ***
  79. 990 end
  80. 995 :
  81. 996 rem *****************
  82. 997 rem  screen template
  83. 998 rem *****************
  84. 999 :
  85. 1000 print"[147]";
  86. 1010 tl$="[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
  87. 1020 bl$="[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189][155]"
  88. 1030 m1$="[221]": m2$="                                     [146][221]"
  89. 1040 m3$="[171][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][179]"
  90. 1050 c$="[158]": r$="": printtl$
  91. 1060 for x=1to23
  92. 1070 printm1$;c$;r$;m2$
  93. 1080 if x=5 then x=6: c$="": r$="[146]": printm3$
  94. 1090 if x=18 then x=19: c$="": r$="": printm3$
  95. 1100 next
  96. 1200 printbl$
  97. 1210 printspc(10)" [213]p[212]ime [158] [205]agazine's"
  98. 1220 printspc(12)"[210]eader's [211]urvey"
  99. 1230 for x=1to16: print: next
  100. 1240 printspc(7)"[208]ress [[210][197][212][213][210][206]] to [195]ontinue"
  101. 1250 printspc(4)"[208]ress [198]8 to [197]xit [194]ack to [213]p[212]ime[155]"
  102. 1290 return
  103. 1395 :
  104. 1396 rem *****************
  105. 1397 rem  clear text area
  106. 1398 rem *****************
  107. 1399 rem :
  108. 1400 print"";
  109. 1410 for x=1to12
  110. 1420 print"[221]                                     [221]"
  111. 1430 next
  112. 1440 print"[155]";
  113. 1450 return
  114. 1495 :
  115. 1496 rem ***********
  116. 1497 rem  screen #1
  117. 1498 rem ***********
  118. 1499 :
  119. 1500 gosub 1400: rem *** clear text area ***
  120. 1505 :
  121. 1510 printspc(8)"[213]p[212]ime the [196]isk [205]onthly[155]"
  122. 1520 printspc(2)"is the [159]premiere[155] magazine on a disk"
  123. 1530 printspc(7)"for the [195]ommodore 64/128"
  124. 1540 printspc(5)"[215]e are constantly working to"
  125. 1550 printspc(8)"improve our publication"
  126. 1560 printspc(11)"and [217][207][213][155][160]can help!"
  127. 1590 return
  128. 1595 :
  129. 1596 rem ***********
  130. 1597 rem  screen #2
  131. 1598 rem ***********
  132. 1599 :
  133. 1600 gosub 1400: rem *** clear text area ***
  134. 1605 :
  135. 1610 printspc(6)"[217]ou can help us stay #1[155] by"
  136. 1620 printspc(9)"providing your input:
  137. 1630 [153][166]6)"sys(NULL)raiselist, printlenriticismlist, openlenommentslist"
  138. 1640 [153][166]4)"atnnything that you feel will help"
  139. 1650 [153][166]7)"us meet your expectations"
  140. 1660 [153][166]14)"with (NULL)p(NULL)imelist"
  141. 1690 [142]
  142. 1695 :
  143. 1696 [143] ***********
  144. 1697 [143]  screen #3
  145. 1698 [143] ***********
  146. 1699 :
  147. 1700 [141] 1400: [143] *** clear text area ***
  148. 1705 :
  149. 1710 [153][166]3)"peeky following the next few prompts"
  150. 1720 [153][166]5)"your printer will print out a"
  151. 1730 [153][166]5)"reader's survey form for you."
  152. 1740 [153][166]4)"(NULL)lease take the time to fill out"
  153. 1750 [153][166]3)"the survey and return it using the"
  154. 1760 [153][166]4)"enclosed business reply envelope."
  155. 1770 [153][166]4)"(NULL)e will use the results of this"
  156. 1780 [153][166]5)"survey to determine what it is"
  157. 1790 [153][166]3)"you've come to expect from (NULL)p(NULL)imelist": [142]
  158. 1795 :
  159. 1796 [143] ***********
  160. 1797 [143]  screen #4
  161. 1798 [143] ***********
  162. 1799 :
  163. 1800 [141] 1400: [143] *** clear text area ***
  164. 1805 :
  165. 1810 [153][166]3)"right$f you'd like to include your name"
  166. 1820 [153][166]10)"enter it now, please."
  167. 1830 [153][166]2)"(atn [(NULL)val(NULL)(NULL)(NULL)(NULL)] will make it anonymous)"
  168. 1840 [153][166]4)"(NULL)ame:tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab("
  169. 1850 [153][166]8)"onon*cmd";
  170. 1860 [142]
  171. 1895 :
  172. 1896 [143] *****************
  173. 1897 [143]  screen #4 con't
  174. 1898 [143] *****************
  175. 1899 :
  176. 1900 [141] 5200: [143] *** ck for dsywhl ***
  177. 1905 [153][166]11)"(NULL)eady your printer"
  178. 1910 [153][166]7)"(NULL)ress sys[(NULL)val(NULL)(NULL)(NULL)(NULL)]list when ready"
  179. 1920 [142]
  180. 1995 :
  181. 1996 [143] *******************
  182. 1997 [143]  output to printer
  183. 1998 [143] *******************
  184. 1999 :
  185. 2000 [151]780,4: [151]782,7: [158] 828: [143] *** ml routine to open printer chn ***
  186. 2010 [139] [194](783)[175] 1 [167] er[178]1: [137] 2490
  187. 2015 :
  188. 2020 [152]4,[199](10)
  189. 2025 [152]4,""[166]12)"(NULL)eader's (NULL)urvey for the lenommodore 64/128    ";
  190. 2026 [152]4,"(NULL)ol. 1 (NULL)o. 7((NULL))"
  191. 2030 [152]4,[199](10)
  192. 2040 [152]4,"     (NULL)his survey is from ";n$;"."
  193. 2050 [152]4,[199](0)
  194. 2100 l$[178]"totototototototototototototototo"
  195. 2105 [139] dw[178]1 [167] l$[178]"................"
  196. 2165 [152]4,"     ***********************************";
  197. 2167 [152]4,"***************************************"
  198. 2170 bx$[178]"[   ]   tototototototototototototototototototototototototototototototototototototo"
  199. 2172 [139] dw[178]1 [167] bx$[178]"[   ]   ....................................."
  200. 2175 [152]4,[199](0)
  201. 2180 [152]4,"     (NULL)lease rate the following programs and categories on a"
  202. 2190 [152]4,"     scale between 1 and 10 with 10 being the highest."
  203. 2195 [152]4,[199](0)
  204. 2200 [152]4,"     left$ubie the lenubie  ";bx$
  205. 2205 [152]4,[199](0)
  206. 2206 [152]4,"     chr$alactic (NULL)unacy  ";bx$
  207. 2207 [152]4,[199](0)
  208. 2210 [152]4,"     (NULL)astermind       ";bx$
  209. 2212 [152]4,[199](0)
  210. 2214 [152]4,"     lenredit lenard (NULL)gr. ";bx$
  211. 2215 [152]4,[199](0)
  212. 2220 [152]4,"     (NULL)ord (NULL)aster 64   ";bx$
  213. 2225 [152]4,[199](0)
  214. 2230 [152]4,"     ascont left$unt        ";bx$
  215. 2235 [152]4,[199](0)
  216. 2240 [152]4,"     valditor (NULL)lus      ";bx$
  217. 2247 [152]4,[199](0)
  218. 2250 [152]4,"     (NULL)creen (NULL)aker 64  ";bx$
  219. 2255 [152]4,[199](0)
  220. 2260 [152]4,"     (NULL)esar on (NULL)rack   ";bx$
  221. 2261 [152]4,[199](0)
  222. 2262 [152]4,"     (NULL)rogramming w/(NULL)(NULL) ";bx$
  223. 2265 [152]4,[199](0)
  224. 2266 [152]4,"     (NULL)hreak (NULL)reat     ";bx$
  225. 2267 [152]4,[199](0)
  226. 2270 [152]4,"     (NULL)sing str$os        ";bx$
  227. 2272 [152]4,[199](0)
  228. 2276 [152]4,"     (NULL)oftware (NULL)eviews ";bx$
  229. 2277 [152]4,[199](0)
  230. 2280 [152]4,"     right$'d rate the issue overall  [   ]
  231. 2285 print#4,chr$(0)
  232. 2287 print#4,chr$(0)
  233. 2300 print#4,"     [193]ny other comments or observations you'd care to make:"
  234. 2305 print#4,chr$(0)
  235. 2310 print#4,"     ";l$;l$;l$;l$
  236. 2315 print#4,chr$(0)
  237. 2320 print#4,"     ";l$;l$;l$;l$
  238. 2325 print#4,chr$(0)
  239. 2326 print#4,"     ";l$;l$;l$;l$
  240. 2327 print#4,chr$(0)
  241. 2328 print#4,"     ";l$;l$;l$;l$
  242. 2330 print#4,chr$(12)
  243. 2340 gosub 5500
  244. 2490 close4: return
  245. 2995 :
  246. 2996 rem ***********
  247. 2997 rem  screen #5
  248. 2998 rem ***********
  249. 2999 :
  250. 3000 gosub 1400: rem clear text area
  251. 3005 :
  252. 3010 printspc(5)"[212]hank-you for taking the time"
  253. 3020 printspc(8)"to print out the survey."
  254. 3030 printspc(3)"[215]e'll be waiting to hear from you."
  255. 3040 printspc(2)"[208]lease send the completed survey to"
  256. 3050 printspc(8)"[213]p[212]ime, the [196]isk [205]onthly[155]"
  257. 3060 printspc(8)"[208][207] [194]ox 299"
  258. 3070 printspc(8)"[206]ewport, [210][201] 02840"
  259. 3080 return
  260. 4995 :
  261. 4996 rem ***********
  262. 4997 rem  kbd input
  263. 4998 rem ***********
  264. 4999 :
  265. 5000 t$="": cs$="*[157]": ct=0
  266. 5010 get k$: if k$="" then 5010
  267. 5020 k=asc(k$)
  268. 5025 if k=140 then 550
  269. 5030 if k=13 then 5100
  270. 5040 if k<>20 then 5070
  271. 5050 if ct=0 then 5010
  272. 5060 ct=ct-1: print" [157][157] [157]";cs$;: t$=left$(t$,ct): goto 5010
  273. 5070 if ct=ml then 5010
  274. 5080 if (k=32) or (k=46) then 5085
  275. 5082 if (k$>="a") and (k$<="z") then 5085
  276. 5084 if (k$<"[193]") or (k$>"[218]") then 5010
  277. 5085 t$=t$+k$: ct=ct+1: printk$;: if ct<>24 then printcs$;
  278. 5090 goto 5010
  279. 5100 if t$="" then print"[193]nonymous";
  280. 5110 print" ": return
  281. 5195 :
  282. 5196 rem ****************************
  283. 5197 rem  ck for daisy wheel printer
  284. 5198 rem ****************************
  285. 5199 :
  286. 5200 printspc(9)"[155][195]an your printer print"
  287. 5210 printspc(5)"[195]ommodore [199]raphic characters?"
  288. 5220 printspc(15)"[158]< [217] / [206] >[155]": print"[145][145][145]";
  289. 5230 dw=0
  290. 5240 get k$: if k$ = "" then 5240
  291. 5250 if (k$="y") or (k$="[217]") then 5280
  292. 5255 if k$=chr$(140) then 550
  293. 5260 if (k$<>"n") and (k$<>"[206]") then 5240
  294. 5270 dw=1
  295. 5280 for x=1to3: print"                                   ": next
  296. 5285 print"[145][145][145][145]";
  297. 5290 return
  298. 5500 rem
  299. 5510 for i=1 to 5
  300. 5520 print#4,chr$(10);:next
  301. 5530 print#4,"   [215]ith this month's [210]eader's [211]urvey, we are asking for your ";
  302. 5535 print#4,"assistance.":print#4,"[215]e'd like to present";
  303. 5540 print#4," [213]p[212]ime to the thousands ([207][203], millions) of computer"
  304. 5550 print#4,"users across [193]merica who have never";
  305. 5560 print#4," heard of us.  [193]s many of you may know,"
  306. 5565 print#4,"[213]p[212]ime advertises in many of the popular";
  307. 5570 print#4," computer magazines available today":print#4,"as well as ";
  308. 5580 print#4,"through a vigorous mail campaign.  [194]ut much of [193]merica ";
  309. 5585 print#4,"still doesn't"
  310. 5590 print#4,"know what a great product [213]p[212]ime is.";
  311. 5600 print#4,"  [200]ere is how you can help us and all of"
  312. 5610 print#4,"those computer enthusiasts who will be glad you did."
  313. 5620 print#4,chr$(10)"   [213]p[212]ime has an opportunity to appear on [212]he [195]omputer";
  314. 5630 print#4," [211]how.  [212]he show appears"
  315. 5635 print#4,"on [208][194][211] in [206]ew [197]ngland and is syndicated";
  316. 5640 print#4," across the nation.  [201]t's a great"
  317. 5645 print#4,"program- the only real ";
  318. 5650 print#4,"forum microcomputer users have on a";
  319. 5655 print#4," nationwide scale."
  320. 5660 print#4,"[212]he [195]omputer [211]how is an interactive program, with listeners ";
  321. 5670 print#4,"calling the":print#4,"evening's special guests from";
  322. 5675 print#4," the microcomputing industry";
  323. 5680 print#4," with questions and":print#4,"comments on various products."
  324. 5690 print#4,chr$(10)"   [193]t the recent [205]ac[215]orld [197]xpo in [194]oston, we met";
  325. 5695 print#4," the show's producer, [211]teve"
  326. 5700 print#4,"[210]osenthal.  [211]teve was very excited about [213]p[212]ime";
  327. 5710 print#4," and told us all we needed to"
  328. 5720 print#4,"do to appear on the show was to convince him he should book us."
  329. 5730 print#4,chr$(10)"   [206]ow, with all the people in the computer world";
  330. 5735 print#4," chasing after this man's time,"
  331. 5740 print#4,"how were we to do this convincing?  [212]hen it came to us - ";
  332. 5750 print#4,chr$(34)"[215]hat if thousands, [206][207],"
  333. 5760 print#4,"tens of thousands of [213]p[212]ime subscribers wrote to this man.";
  334. 5765 print#4,"  [212]hat would convince"
  335. 5770 print#4,"him that we should appear on his show."chr$(34)"  [193]nd if";
  336. 5780 print#4," he were to get say, fifty"
  337. 5785 print#4,"thousand letters asking for [213]p[212]ime";
  338. 5790 print#4," to appear on the show, wouldn't he have":print#4,"to act?"
  339. 5800 print#4,chr$(10)"   [211]o this is our request.  [217]our surveys keep telling us";
  340. 5810 print#4," we're giving you a"
  341. 5815 print#4,"good value for your software dollars.  [205]ail ";
  342. 5820 print#4,"this off to [211]teve [210]osenthal of the"
  343. 5830 print#4,"[195]omputer [211]how and let him know, too.";
  344. 5835 print#4,"  [212]he address is:  [211]teve [210]osenthal,"
  345. 5840 print#4,"[208]roducer, [212]he [195]omputer [211]how,";
  346. 5850 print#4," 1118 [198]resno [193]ve., [194]erkeley, [195][193] 94797."
  347. 5860 print#4,chr$(10):for i=1 to 80:print#4,"-";:next
  348. 5865 print#4,chr$(10)chr$(10)
  349. 5867 print#4,"[196]ear [205]r. [210]osenthal:"chr$(10)
  350. 5870 print#4,"   [201]'m one of the fifty thousand enthusiastic";
  351. 5880 print#4," [213]p[212]ime subscribers who believe"
  352. 5890 print#4,"that millions of [193]merican computing";
  353. 5900 print#4," enthusiasts are missing out on the fun."
  354. 5910 print#4,"[213]p[212]ime offers at least 8 great programs, ";
  355. 5920 print#4,"informative articles, and tutorials"
  356. 5930 print#4,"every month and is a terrific value.  [201] think you would be ";
  357. 5940 print#4,"doing the computing":print#4,"community a great service by";
  358. 5950 print#4," letting your viewers know about [213]p[212]ime.  [212]his is"
  359. 5960 print#4,"my request that you invite [213]p[212]ime [205]agazine to ";
  360. 5970 print#4,"appear on your show."
  361. 5980 print#4,chr$(10)"[211]incerely,"
  362. 5990 print#4,chr$(10)"[206]ame:    "l$l$l$l$
  363. 6000 print#4,chr$(10)"[193]ddress: "l$l$l$l$
  364. 6010 print#4,chr$(10)"[195]ity, [211][212]  [218][201][208]: "l$l$l$
  365. 6020 print#4,chr$(12):return
  366.